package com.tuananh.radnom.model.utils;

import java.util.ArrayList;
import java.util.StringTokenizer;

public class StringUtils {
	public static ArrayList<String> split(String source,String delim){
		ArrayList<String> result = new ArrayList<String>();
		StringTokenizer token = new StringTokenizer(source,delim);
		while(token.hasMoreTokens()){
			result.add(token.nextToken().trim());
		}
		return result;
	}
}
